package com.zyg.apart.mapper;

import com.zyg.apart.model.Flatrepair;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface FlatrepairMapper {

    List<Map<String, Object>> getAllRepair();

    Map<String,Object> getRepairById(Integer id);

    int editRepair(Flatrepair flatrepair);

    int addRepair(Flatrepair flatrepair);

    int delRepairById(Integer id);
}